@import "../../../app.less";
@import "../list/list.wxss";

.container {

    .info {
        padding: 40rpx 32rpx 10rpx;
        position: relative;

        .bj {
            width: 100%;
            height: 300rpx;
        }

        .content {
            position: absolute;
            top: 40rpx;
            left: 32rpx;
            right: 32rpx;
            padding: 44rpx 40rpx 0;

            .num {
                color: @color-white;
                font-size: 36rpx;
                font-weight: 600;
            }

            .desc {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
                margin-top: 20rpx;

                .name {
                    color: @color-white;
                    font-size: 30rpx;
                    font-weight: 600;
                }

                .figure {
                    color: @color-white;
                    font-size: 60rpx;
                    height: 84rpx;
                    font-weight: bold;
                }
            }

            .intro {
                border-top-width: 1px;
                border-top-style: solid;
                border-color: rgba(255, 255, 255, .2);
                margin-top: 28rpx;
                padding: 28rpx 0;
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;

                view {
                    color: @color-white;
                    font-size: 26rpx;

                    &.time {
                        font-weight: lighter;
                    }

                    &.status {
                        position: relative;

                        &::after {
                            content: '';
                            position: absolute;
                            left: -20rpx;
                            top: 50%;
                            transform: translateY(-50%);
                            width: 10rpx;
                            height: 10rpx;
                            border-radius: 50%;
                            background: @color-white;
                        }
                    }
                }
            }
        }
    }

    .claim-detail {
        background: @color-white;
        padding-bottom: calc((constant(safe-area-inset-bottom)) + 150rpx);
        padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);
    }

    .basic {
        .title {
            font-size: 34rpx;
            font-weight: 600;
            color: @color-text-primary;
            border-bottom-width: 1px;
            border-bottom-style: solid;
            border-color: @color-border-light;
            padding: 32rpx;
            background: @color-white;
        }

        .van-hairline--top-bottom:after {
            border: none;
        }

        .van-cell {
            padding: 34rpx 32rpx;

            .van-cell__title {
                font-size: 30rpx;
                color: @color-text-primary;
                opacity: .6;
            }

            .van-field__label--disabled {
                color: @color-text-primary;
            }

            .van-cell__value {
                font-size: 30rpx;
                color: @color-text-primary;
            }

            .textStyle {
                color: @color-text-primary;
                font-size: 28rpx;
                min-height: 120rpx !important;
            }

            &::after {
                border-bottom-color: @color-border-light;
            }

            &.radio-cell {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;

                van-radio-group {
                    display: flex;
                    flex-direction: row;
                    justify-content: flex-end;

                    .van-radio--horizontal {
                        margin-right: 0;
                        margin-left: 20rpx;
                    }

                    .radio-class {
                        color: @color-text-primary;
                        font-size: 30rpx;
                        padding-left: 10rpx;
                    }

                    .van-radio__icon--disabled.van-radio__icon--checked {
                        background-color: @color-primary;
                        border-color: @color-primary;
                        color: @color-white;
                    }
                }
            }
        }


        .company {
            .van-cell {
                padding-bottom: 52rpx;

                &::after {
                    border-bottom-width: 32rpx;
                    border-bottom-color: @color-background-primary;
                }
            }
        }

        .van-divider {
            width: calc(100% - 64rpx);
            margin: 0 0 0 32rpx;
            color: @color-border-light;
        }
    }

    .cancellation {
        position: fixed;
        left: 0;
        right: 0;
        bottom: calc((constant(safe-area-inset-bottom)));
        bottom: calc(env(safe-area-inset-bottom));
        z-index: 101;
    }

    .progress {
        background: @color-white;
        padding: 32rpx;
        padding-bottom: calc((constant(safe-area-inset-bottom)) + 150rpx);
        padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);

        .li {
            padding-left: 46rpx;
            padding-bottom: 60rpx;
            position: relative;

            &::after {
                content: '';
                position: absolute;
                top: 24rpx;
                left: 12rpx;
                width: 1px;
                height: 100%;
                border-left-width: 1px;
                border-color: @color-text-secondary;
            }

            &::before {
                content: '';
                position: absolute;
                top: 12rpx;
                left: 0;
                width: 24rpx;
                height: 24rpx;
                background: @color-border-light;
                border-radius: 50%;
                z-index: 10;
            }

            &.complete {
                &::after {
                    border-left-style: solid;
                }
            }

            &.unfinished {
                &::after {
                    border-left-style: dashed;
                    opacity: .4;
                }
            }

            .intro {
                display: flex;
                flex-direction: row;
                justify-content: space-between;
                align-items: center;

                .name {
                    font-size: 34rpx;
                    color: @color-text-primary;
                    font-weight: 600;
                    width: calc(100% - 270rpx);

                    text {
                        font-size: 30rpx;
                        font-weight: normal;
                        color: @color-text-secondary;
                    }
                }

                .time {
                    color: @color-text-secondary;
                    font-size: 26rpx;
                }
            }

            .status {
                font-size: 26rpx;
                margin-top: 8rpx;
            }

            .explain {
                padding: 20rpx;
                display: inline-block;
                margin-top: 20rpx;
                color: @color-text-primary;
                font-size: 28rpx;
                line-height: 1.5;
                background: @color-background-primary;
                border-radius: 5px;
            }

            &.pass {
                &::before {
                    background: @color-success;
                }

                .status {
                    color: @color-success;
                }
            }

            &.decline {
                &::before {
                    background: @color-danger;
                }

                .status {
                    color: @color-danger;
                }
            }
        }

        .examineApprove {
            position: fixed;
            left: 0;
            right: 0;
            bottom: calc((constant(safe-area-inset-bottom)));
            bottom: calc(env(safe-area-inset-bottom));
            z-index: 100;
        }

    }

    .btn {
        background: @color-white;
        padding: 24rpx 32rpx;
        position: fixed;
        left: 0;
        right: 0;
        z-index: 100;
        bottom: constant(safe-area-inset-bottom);
        bottom: env(safe-area-inset-bottom);
        box-shadow: 0 -3rpx 6rpx rgba(0, 0, 0, .06);

        button {
            background: @color-danger;
            height: 80rpx;
            line-height: 80rpx;
            color: @color-white;
            font-size: 34rpx;
            border-radius: 5px;
            border: none;

            &::after {
                border: none !important;
            }

            &.replenishBtn {
                background: rgba(147, 157, 173, .16);
                color: @color-text-primary;
            }

            &.full {
                width: 100%;
            }
        }

        &.twoBtn {
            display: flex;
            flex-direction: row;
            justify-content: space-between;

            button {
                width: 333rpx;

            }
        }
    }
    .checklist{
      padding: 0 32rpx;
      background-color: @color-white;
      button{
        &::after {
          border: none !important;
        }
        background: rgba(147, 157, 173, .16);
        height: 80rpx;
        line-height: 80rpx;
        color: @color-primary;
        font-size: 30rpx;
        border-radius: 5px;
        border: none;
      }
    }
}